#define _CRT_SECURE_NO_WARNINGS 1

#include"ArrayQueue.h"

void test1() {
	Queue* queue = NULL;

	queue = QueueInit();
	EnQueue(queue,1);
	EnQueue(queue, 2);
	EnQueue(queue, 3);
	EnQueue(queue, 4);
	EnQueue(queue, 5);
	EnQueue(queue, 6);
	EnQueue(queue, 7);
	EnQueue(queue, 8);
	Print(queue);

	DeQueue(queue);
	DeQueue(queue);
	DeQueue(queue);
	DeQueue(queue);
	DeQueue(queue);
	DeQueue(queue);
	Print(queue);

	EnQueue(queue, 9);
	EnQueue(queue, 10);
	EnQueue(queue, 11);
	EnQueue(queue, 12);
	EnQueue(queue, 13);
	Print(queue);

	printf("%d\n", Front(queue));
}

int main() {
	test1();
}